﻿using AutoMapper;
using Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace BillUI.AutoMapper
{
    public class Bills_Profile : Profile
    {
        public Bills_Profile()
        {
            CreateMap<Bills, Bills_DTO>().ForMember(d => d.TypeName, s => s.MapFrom(o => o.Bill_Type.TypeName));

        }
    }
}